export default function removeZeros(number: string): string {
  if (Number(number)) {
    return number.replace(/\.0+$/, '').replace(/(\.[^0]+)0+$/, '$1')
  }
  return '0'
}
